package cn.forge.mall.module.system.service.user.impl;

import cn.forge.mall.framework.common.pojo.PageResult;
import cn.forge.mall.module.system.controller.admin.user.vo.UserPageReqVO;
import cn.forge.mall.module.system.dal.dataobject.user.AdminUserDO;
import cn.forge.mall.module.system.dal.mysql.user.AdminUserMapper;
import cn.forge.mall.module.system.service.user.AdminUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;

/**
 * @author liangyuanping
 * @ClassName AdminUserServiceImpl
 * @description:
 * @date 2024年03月18日
 * @version: 1.0
 */
@Service
@Slf4j
public class AdminUserServiceImpl implements AdminUserService {

    @Resource
    private AdminUserMapper userMapper;

    @Override
    public PageResult<AdminUserDO> getUserPage(UserPageReqVO reqVO) {
        return userMapper.selectPage(reqVO, new ArrayList<>());
    }
}
